<?php


/**
 * Created by PhpStorm.
 * User: cephei
 * Date: 11/25/15
 * Time: 10:03 AM
 */

namespace Plugins\BTDRadar;

use Core\PluginContainer;

class Register_BTDRadar{
    public function register(){
        PluginContainer::getInstance()->bind("btdradar",function(){;
            return new Plugin_BTDRadar();
        });
    }

    public function install(\Closure $callback){
        $config = new \stdClass();
        $config->name = 'btdradar';
        $config->class = 'Plugins\\BTDRadar\\Register_BTDRadar';
        $config->enable = 1;
        $callback($config);
    }
}